home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Paste Exception
- Sent: 6/11/96 12:46 PM
- Received: 6/11/96 12:51 PM
- From: Mark Lanett, mlanett@meer.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Alas, OpenDoc does not provide a mechanism to supply user strings with
- exceptions. Therefore you have to put up a dialog yourself. You may throw a
- non-standard exception only if you catch it later - the SOM interface only
- catches subclasses of FW_CODException, and if your exception reaches that
- point you will either terminate the process or drop into macsbug.
-
- Putting up the dialog at the point where you detect the error may not be
- best (especially if you are in the middle of a drag), but I don't know of
- any clean way to throw an exception and put up an alert afterwards. Perhaps
- you could set something up with idling.
-
- markl
-
- --
- Mark Lanett, OpenDoc Framework, Apple Computer
-
-